package online_exams.domain;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 考试信息表(TExam)表实体类
 *
 * @author makejava
 * @since 2024-12-19 16:50:01
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class TExamEntity {
    /**
     * 主键ID
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    /**
     * 考试名称
     */
    @TableField(value = "name")
    private String name;
    /**
     * 考试说明
     */
    @TableField(value = "description")
    private String description;
    /**
     * 考试开始时间
     */
    @TableField(value = "start_time")
    private Date startTime;
    /**
     * 考试结束时间
     */
    @TableField(value = "end_time")
    private Date endTime;
    /**
     * 考试时长，单位分钟
     */
    @TableField(value = "duration")
    private Integer duration;
    /**
     * 考试总分
     */
    @TableField(value = "total_score")
    private Integer totalScore;
    /**
     * 及格分数
     */
    @TableField(value = "pass_score")
    private Integer passScore;
    /**
     * 考试状态
     */
    @TableField(value = "status")
    private Object status;
    /**
     * 创建人ID
     */
    @TableField(value = "create_by")
    private Integer createBy;
    /**
     * 创建时间
     */
    @TableField(value = "create_time")
    private Date createTime;
    /**
     * 更新时间
     */
    @TableField(value = "update_time")
    private Date updateTime;


}

